package router

import (
	"gin/internal/handler"
	"github.com/gin-gonic/gin"
)

const SKey = "this is a goods days1"

func OrderRouter(r *gin.RouterGroup) {

	order := r.Group("order")
	{
		//order.Use(tools.JWTAuth(SKey))
		order.POST("/create", handler.OrderCreate)
		order.GET("/list", handler.OrderList)
		order.GET("/CouponList", handler.CouponList)
		order.GET("/coupon", handler.UserCoupon)
	}

}
